getRemainingShares

fun getRemainingShares(asofDate: Int): Long

Compute the remaining shares for a buy transaction

Return

The number of shares for this buy transaction that have not yet been allocated as of the given date.

Parameters

asofDate

The date the remaining shares should be computed for, adjusting for any splits previous.